package com.firefightingiot.firefightingiot.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.firefightingiot.firefightingiot.common.base.BasisEntity;

import java.util.Date;

/**
 * @Author: YangYu
 * @ClassName: ledUploadFile
 * @Date: Created in 13:40 2021/10/11
 * @Description: led文件表
 */
@TableName("firelink_device.led_upload_file")
public class LedUploadFile extends BasisEntity {

    /**
     * 主键
     */
    private String id;
    /**
     * 文件名称
     */
    private String name;
    /**
     * 时间
     */
    private Date createtime;
    /**
     * 机构id或单位id
     */
    private String homeId;

    /**
     * 类型：1图片 2视频
     */
    private String type;

    public String getType() {
        return this.getString("type");
    }

    public void setType(String type) {
        this.put("type",type);
    }

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getName() {
        return this.getString("name");
    }

    public void setName(String name) {
        this.put("name",name);
    }

    public Date getCreatetime() {
        return this.getDate("createtime");
    }

    public void setCreatetime(Date createtime) {
        this.put("createtime",createtime);
    }

    public String getHomeId() {
        return this.getString("homeId");
    }

    public void setHomeId(String homeId) {
        this.put("homeId",homeId);
    }
}
